package com.cw.jeeyt.dao.model.facade;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 接口信息Example
 *
 * @author chenw
 * @date 2019-10-31 22:35:52
 */
public class FacadeInfoExample {
    /** 排序字段 */
    protected String orderByClause;

    /** 是否只查询记录不同的数据 */
    protected boolean distinct;

    /** or条件查询集合 */
    protected List<Criteria> oredCriteria;

    /**
     * 初始化or条件查询集合
     */
    public FacadeInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 排序字段set方法
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * 排序字段get方法
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * 不同记录set方法.
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 不同记录get方法.
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 排序集合get方法
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * or
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * or
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除数据
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(Long value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(Long value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDocIdIsNull() {
            addCriterion("doc_id is null");
            return (Criteria) this;
        }

        public Criteria andDocIdIsNotNull() {
            addCriterion("doc_id is not null");
            return (Criteria) this;
        }

        public Criteria andDocIdEqualTo(Long value) {
            addCriterion("doc_id =", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdNotEqualTo(Long value) {
            addCriterion("doc_id <>", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdGreaterThan(Long value) {
            addCriterion("doc_id >", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdGreaterThanOrEqualTo(Long value) {
            addCriterion("doc_id >=", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdLessThan(Long value) {
            addCriterion("doc_id <", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdLessThanOrEqualTo(Long value) {
            addCriterion("doc_id <=", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdLike(Long value) {
            addCriterion("doc_id like", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdNotLike(Long value) {
            addCriterion("doc_id not like", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdIn(List<Long> values) {
            addCriterion("doc_id in", values, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdNotIn(List<Long> values) {
            addCriterion("doc_id not in", values, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdBetween(Long value1, Long value2) {
            addCriterion("doc_id between", value1, value2, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdNotBetween(Long value1, Long value2) {
            addCriterion("doc_id not between", value1, value2, "docId");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeIsNull() {
            addCriterion("facade_code is null");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeIsNotNull() {
            addCriterion("facade_code is not null");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeEqualTo(String value) {
            addCriterion("facade_code =", value, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeNotEqualTo(String value) {
            addCriterion("facade_code <>", value, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeGreaterThan(String value) {
            addCriterion("facade_code >", value, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("facade_code >=", value, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeLessThan(String value) {
            addCriterion("facade_code <", value, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeLessThanOrEqualTo(String value) {
            addCriterion("facade_code <=", value, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeLike(String value) {
            addCriterion("facade_code like", value, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeNotLike(String value) {
            addCriterion("facade_code not like", value, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeIn(List<String> values) {
            addCriterion("facade_code in", values, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeNotIn(List<String> values) {
            addCriterion("facade_code not in", values, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeBetween(String value1, String value2) {
            addCriterion("facade_code between", value1, value2, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeCodeNotBetween(String value1, String value2) {
            addCriterion("facade_code not between", value1, value2, "facadeCode");
            return (Criteria) this;
        }

        public Criteria andFacadeNameIsNull() {
            addCriterion("facade_name is null");
            return (Criteria) this;
        }

        public Criteria andFacadeNameIsNotNull() {
            addCriterion("facade_name is not null");
            return (Criteria) this;
        }

        public Criteria andFacadeNameEqualTo(String value) {
            addCriterion("facade_name =", value, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameNotEqualTo(String value) {
            addCriterion("facade_name <>", value, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameGreaterThan(String value) {
            addCriterion("facade_name >", value, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameGreaterThanOrEqualTo(String value) {
            addCriterion("facade_name >=", value, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameLessThan(String value) {
            addCriterion("facade_name <", value, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameLessThanOrEqualTo(String value) {
            addCriterion("facade_name <=", value, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameLike(String value) {
            addCriterion("facade_name like", value, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameNotLike(String value) {
            addCriterion("facade_name not like", value, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameIn(List<String> values) {
            addCriterion("facade_name in", values, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameNotIn(List<String> values) {
            addCriterion("facade_name not in", values, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameBetween(String value1, String value2) {
            addCriterion("facade_name between", value1, value2, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeNameNotBetween(String value1, String value2) {
            addCriterion("facade_name not between", value1, value2, "facadeName");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeIsNull() {
            addCriterion("facade_request_type is null");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeIsNotNull() {
            addCriterion("facade_request_type is not null");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeEqualTo(String value) {
            addCriterion("facade_request_type =", value, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeNotEqualTo(String value) {
            addCriterion("facade_request_type <>", value, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeGreaterThan(String value) {
            addCriterion("facade_request_type >", value, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeGreaterThanOrEqualTo(String value) {
            addCriterion("facade_request_type >=", value, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeLessThan(String value) {
            addCriterion("facade_request_type <", value, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeLessThanOrEqualTo(String value) {
            addCriterion("facade_request_type <=", value, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeLike(String value) {
            addCriterion("facade_request_type like", value, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeNotLike(String value) {
            addCriterion("facade_request_type not like", value, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeIn(List<String> values) {
            addCriterion("facade_request_type in", values, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeNotIn(List<String> values) {
            addCriterion("facade_request_type not in", values, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeBetween(String value1, String value2) {
            addCriterion("facade_request_type between", value1, value2, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeRequestTypeNotBetween(String value1, String value2) {
            addCriterion("facade_request_type not between", value1, value2, "facadeRequestType");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionIsNull() {
            addCriterion("facade_version is null");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionIsNotNull() {
            addCriterion("facade_version is not null");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionEqualTo(String value) {
            addCriterion("facade_version =", value, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionNotEqualTo(String value) {
            addCriterion("facade_version <>", value, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionGreaterThan(String value) {
            addCriterion("facade_version >", value, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionGreaterThanOrEqualTo(String value) {
            addCriterion("facade_version >=", value, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionLessThan(String value) {
            addCriterion("facade_version <", value, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionLessThanOrEqualTo(String value) {
            addCriterion("facade_version <=", value, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionLike(String value) {
            addCriterion("facade_version like", value, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionNotLike(String value) {
            addCriterion("facade_version not like", value, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionIn(List<String> values) {
            addCriterion("facade_version in", values, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionNotIn(List<String> values) {
            addCriterion("facade_version not in", values, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionBetween(String value1, String value2) {
            addCriterion("facade_version between", value1, value2, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeVersionNotBetween(String value1, String value2) {
            addCriterion("facade_version not between", value1, value2, "facadeVersion");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlIsNull() {
            addCriterion("facade_url is null");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlIsNotNull() {
            addCriterion("facade_url is not null");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlEqualTo(String value) {
            addCriterion("facade_url =", value, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlNotEqualTo(String value) {
            addCriterion("facade_url <>", value, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlGreaterThan(String value) {
            addCriterion("facade_url >", value, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlGreaterThanOrEqualTo(String value) {
            addCriterion("facade_url >=", value, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlLessThan(String value) {
            addCriterion("facade_url <", value, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlLessThanOrEqualTo(String value) {
            addCriterion("facade_url <=", value, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlLike(String value) {
            addCriterion("facade_url like", value, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlNotLike(String value) {
            addCriterion("facade_url not like", value, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlIn(List<String> values) {
            addCriterion("facade_url in", values, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlNotIn(List<String> values) {
            addCriterion("facade_url not in", values, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlBetween(String value1, String value2) {
            addCriterion("facade_url between", value1, value2, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andFacadeUrlNotBetween(String value1, String value2) {
            addCriterion("facade_url not between", value1, value2, "facadeUrl");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIsNull() {
            addCriterion("operate_type is null");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIsNotNull() {
            addCriterion("operate_type is not null");
            return (Criteria) this;
        }

        public Criteria andOperateTypeEqualTo(String value) {
            addCriterion("operate_type =", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotEqualTo(String value) {
            addCriterion("operate_type <>", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeGreaterThan(String value) {
            addCriterion("operate_type >", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeGreaterThanOrEqualTo(String value) {
            addCriterion("operate_type >=", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLessThan(String value) {
            addCriterion("operate_type <", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLessThanOrEqualTo(String value) {
            addCriterion("operate_type <=", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLike(String value) {
            addCriterion("operate_type like", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotLike(String value) {
            addCriterion("operate_type not like", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIn(List<String> values) {
            addCriterion("operate_type in", values, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotIn(List<String> values) {
            addCriterion("operate_type not in", values, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeBetween(String value1, String value2) {
            addCriterion("operate_type between", value1, value2, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotBetween(String value1, String value2) {
            addCriterion("operate_type not between", value1, value2, "operateType");
            return (Criteria) this;
        }

        public Criteria andRequestsIsNull() {
            addCriterion("requests is null");
            return (Criteria) this;
        }

        public Criteria andRequestsIsNotNull() {
            addCriterion("requests is not null");
            return (Criteria) this;
        }

        public Criteria andRequestsEqualTo(String value) {
            addCriterion("requests =", value, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsNotEqualTo(String value) {
            addCriterion("requests <>", value, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsGreaterThan(String value) {
            addCriterion("requests >", value, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsGreaterThanOrEqualTo(String value) {
            addCriterion("requests >=", value, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsLessThan(String value) {
            addCriterion("requests <", value, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsLessThanOrEqualTo(String value) {
            addCriterion("requests <=", value, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsLike(String value) {
            addCriterion("requests like", value, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsNotLike(String value) {
            addCriterion("requests not like", value, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsIn(List<String> values) {
            addCriterion("requests in", values, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsNotIn(List<String> values) {
            addCriterion("requests not in", values, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsBetween(String value1, String value2) {
            addCriterion("requests between", value1, value2, "requests");
            return (Criteria) this;
        }

        public Criteria andRequestsNotBetween(String value1, String value2) {
            addCriterion("requests not between", value1, value2, "requests");
            return (Criteria) this;
        }

        public Criteria andEnumsIsNull() {
            addCriterion("enums is null");
            return (Criteria) this;
        }

        public Criteria andEnumsIsNotNull() {
            addCriterion("enums is not null");
            return (Criteria) this;
        }

        public Criteria andEnumsEqualTo(String value) {
            addCriterion("enums =", value, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsNotEqualTo(String value) {
            addCriterion("enums <>", value, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsGreaterThan(String value) {
            addCriterion("enums >", value, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsGreaterThanOrEqualTo(String value) {
            addCriterion("enums >=", value, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsLessThan(String value) {
            addCriterion("enums <", value, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsLessThanOrEqualTo(String value) {
            addCriterion("enums <=", value, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsLike(String value) {
            addCriterion("enums like", value, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsNotLike(String value) {
            addCriterion("enums not like", value, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsIn(List<String> values) {
            addCriterion("enums in", values, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsNotIn(List<String> values) {
            addCriterion("enums not in", values, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsBetween(String value1, String value2) {
            addCriterion("enums between", value1, value2, "enums");
            return (Criteria) this;
        }

        public Criteria andEnumsNotBetween(String value1, String value2) {
            addCriterion("enums not between", value1, value2, "enums");
            return (Criteria) this;
        }

        public Criteria andResponsesIsNull() {
            addCriterion("responses is null");
            return (Criteria) this;
        }

        public Criteria andResponsesIsNotNull() {
            addCriterion("responses is not null");
            return (Criteria) this;
        }

        public Criteria andResponsesEqualTo(String value) {
            addCriterion("responses =", value, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesNotEqualTo(String value) {
            addCriterion("responses <>", value, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesGreaterThan(String value) {
            addCriterion("responses >", value, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesGreaterThanOrEqualTo(String value) {
            addCriterion("responses >=", value, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesLessThan(String value) {
            addCriterion("responses <", value, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesLessThanOrEqualTo(String value) {
            addCriterion("responses <=", value, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesLike(String value) {
            addCriterion("responses like", value, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesNotLike(String value) {
            addCriterion("responses not like", value, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesIn(List<String> values) {
            addCriterion("responses in", values, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesNotIn(List<String> values) {
            addCriterion("responses not in", values, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesBetween(String value1, String value2) {
            addCriterion("responses between", value1, value2, "responses");
            return (Criteria) this;
        }

        public Criteria andResponsesNotBetween(String value1, String value2) {
            addCriterion("responses not between", value1, value2, "responses");
            return (Criteria) this;
        }

        public Criteria andUseMethodIsNull() {
            addCriterion("use_method is null");
            return (Criteria) this;
        }

        public Criteria andUseMethodIsNotNull() {
            addCriterion("use_method is not null");
            return (Criteria) this;
        }

        public Criteria andUseMethodEqualTo(String value) {
            addCriterion("use_method =", value, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodNotEqualTo(String value) {
            addCriterion("use_method <>", value, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodGreaterThan(String value) {
            addCriterion("use_method >", value, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodGreaterThanOrEqualTo(String value) {
            addCriterion("use_method >=", value, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodLessThan(String value) {
            addCriterion("use_method <", value, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodLessThanOrEqualTo(String value) {
            addCriterion("use_method <=", value, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodLike(String value) {
            addCriterion("use_method like", value, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodNotLike(String value) {
            addCriterion("use_method not like", value, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodIn(List<String> values) {
            addCriterion("use_method in", values, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodNotIn(List<String> values) {
            addCriterion("use_method not in", values, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodBetween(String value1, String value2) {
            addCriterion("use_method between", value1, value2, "useMethod");
            return (Criteria) this;
        }

        public Criteria andUseMethodNotBetween(String value1, String value2) {
            addCriterion("use_method not between", value1, value2, "useMethod");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(Long value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(Long value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLike(Date value) {
            addCriterion("create_date like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotLike(Date value) {
            addCriterion("create_date not like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Long value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Long value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Long value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Long value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Long value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Long value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(Long value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(Long value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Long> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Long> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Long value1, Long value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Long value1, Long value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLike(Date value) {
            addCriterion("update_date like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotLike(Date value) {
            addCriterion("update_date not like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
